package com.lu.manage.modular.system.model.enums;

/**
 * @program LuBoot
 * @description: 菜单相关枚举
 * @author: zhanglu
 * @create: 2019-11-03 21:18:00
 */
public enum MenuYesOrNo {

    YES(1, "启用", "是", "是", "是"),
    NO(0,  "禁用", "否", "否", "否"),

    ;

    //状态
    private Integer code;
    //是否开启
    private String status;
    //是否菜单
    private String menuFlag;
    //是否...
    private String newPageFlag;
    //是否展开
    private String openFlag;

    MenuYesOrNo(Integer code, String status, String menuFlag, String newPageFlag, String openFlag) {
        this.code = code;
        this.status = status;
        this.menuFlag = menuFlag;
        this.newPageFlag = newPageFlag;
        this.openFlag = openFlag;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMenuFlag() {
        return menuFlag;
    }

    public void setMenuFlag(String menuFlag) {
        this.menuFlag = menuFlag;
    }

    public String getNewPageFlag() {
        return newPageFlag;
    }

    public void setNewPageFlag(String newPageFlag) {
        this.newPageFlag = newPageFlag;
    }

    public String getOpenFlag() {
        return openFlag;
    }

    public void setOpenFlag(String openFlag) {
        this.openFlag = openFlag;
    }
}
